option 2: Intermediate nodes send out functions of their received packets